<?php
/**
 * aheadWorks Co.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://ecommerce.aheadworks.com/LICENSE-M1.txt
 *
 * @category   AW
 * @package    AW_Mobile
 * @copyright  Copyright (c) 2010-2011 aheadWorks Co. (http://www.aheadworks.com)
 * @license    http://ecommerce.aheadworks.com/LICENSE-M1.txt
 */
?>
<?php
/**
 * Template for Mage_Page_Block_Html
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <?php echo $this->getChildHtml('head') ?>
</head>
    <body home="index.php" class="mage-iphone<?php if (Mage::registry(AW_Mobile_Block_Catalog_Navigation::IS_NAVIGATION_PAGE)) echo " navpage"; ?>">
	<div class="search-overlay" id="topSearchOverlay">
		<div class="cart-loader">
			<span>
				<img src="<?php echo $this->getSkinUrl('images/cart-ajax-loader.gif'); ?>" alt="<?php echo $this->__('Loading...'); ?>" />
			</span>
		</div>    
	</div>
    <?php echo $this->getChildHtml('after_body_start') ?>
    <?php echo $this->getChildHtml('global_notices') ?>
    <div class="header">
        <?php echo $this->getChildHtml('header') ?>
    </div>
    <div class="content-container active">
        <div class="shop-access">
            <?php echo $this->getChildHtml('topSearch') ?>
            <div class="clear"></div>
        </div>
        <div class="middle-container">
            <div class="middle col-1-layout">
                <div><?php echo $this->getChildHtml('breadcrumbs') ?></div>
                <div><?php echo $this->getChildHtml('messages') ?></div>
                    <div class="clear"></div>
                
                <div class="clear"></div>
                <div id="main" class="col-main<?php if ($this->getChild('content') && $this->getChild('content')->getIsCms() && !Mage::registry(AW_Mobile_Block_Catalog_Navigation::IS_NAVIGATION_PAGE)){ echo " is_cms"; } ?>">
                    <?php echo $this->getChildHtml('content') ?>
                </div>
            </div>
        </div>
    </div>
    <div class="cart-container hidden">
        <div class="shop-access">
            <?php echo $this->getChildHtml('cartLinks') ?>
        </div><div class="clear"></div>
        <div class="middle-container">
            <div class="middle col-1-layout">
                <div id="main-cart" class="col-main cart">
                    <?php echo $this->getChildHtml('cartContent') ?>
                </div>
            </div>
        </div>
    </div>
	<div class="bottom_menu">
		<div><a href="<?php echo $this->getUrl('awmobile/category'); ?>">All Categories</a></div>
		<div><a href="#" class="header-cart-a" title="My Cart" onclick="goToCart(); return false;">Shopping Cart <?php if($count = $this->helper('checkout/cart')->getSummaryCount()) echo "($count)"; ?></a></div>
		<div><a href="<?php echo $this->getUrl('video-list') ?>">Video Tutorial Lists</a></div>
		<div class="last"><a href="<?php echo $this->getUrl('customer/account/')?>">My Account</a></div>
	</div>
    <div class="footer-container" id="footer-container">
        <div class="footer">
            <?php echo $this->getChildHtml('footer') ?>
        </div>
    </div>
    <?php echo $this->getChildHtml('before_body_end') ?>
    <?php echo $this->getAbsoluteFooter() ?>
</body>
</html>
